package com.alex.springboot.dao;

import com.alex.springboot.entity.User;

import java.util.List;

public interface UserDAO {

    int save(User user);

    int delete(Integer id);

    int update(User user);

    User getById(Integer id);

    List<User> selectAll();

}
